package com.template.model;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
    private String id;

    private String productName;

    private BigDecimal price;

    private Date createDate;

    private Date modifyDate;

    public Product(String id, String productName, BigDecimal price, Date createDate, Date modifyDate) {
        this.id = id;
        this.productName = productName;
        this.price = price;
        this.createDate = createDate;
        this.modifyDate = modifyDate;
    }

    public Product() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }
}